{% set page_name = "change-username" %}
{% extends "layout/basic.html" %}
{% block content %}
<style>
  .col--uid {
    width: 4rem;
  }

  .col--user {
    width: 20rem;
  }
</style>
<div class="row">
  <div class="medium-9 columns">
    <div class="section">
      <div class="section__header">
        <h1 class="section__title" id="create" data-heading>用户名修改</h1>
      </div>
      <div class="section__body">
        <blockquote class="note typo">
          <p>用户名修改须知</p>
          <ul>
            <li>下面的每一个项目均为必填，仅允许具有 <code>PRIV.PRIV_CREATE_DOMAIN</code> 权限（反正你没有）的用户进行修改</li>
            <li>请尽量使用 <strong>ASCII 字符</strong></li>
          </ul>
        </blockquote>
        <form method="post">
          {{ form.form_text({
          label:'By Username / UID',
          name:'uidOrName',
          autofocus:true,
          required:true
          }) }}
          {{ form.form_text({
          label:'想要修改的用户名',
          name:'text',
          required:true
          }) }}
          <div class="row">
            <div class="columns">
              <button type="submit" class="rounded primary button">
                修改
              </button>
              <button type="button" class="rounded button" onclick="window.history.go(-1)">
                取消
              </button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
{% endblock %}